package com.woniuxy.portal.common.constant;

import java.util.PrimitiveIterator;

public interface RedisConstant {
    /**
     * 图书分类key
     */
    String BOOK_TYPE_LIST = "booktype:list";

    /**
     * 图书缓存key
     */
    String BOOK_LIST = "book:list";

    /**
     * 登录token前缀
     */
    String USER_TOKEN_PREFIX= "user_token_";

    /**
     * 购物车的前缀
     */
    String USER_CART_PREFIX= "user_cart_";

    /**
     * 缓存省份
     */
    String PROVINCES = "provinces";

    /**
     * 缓存中国省市区
     */
    String CHINA_CACHE = "china_cache";

    /**
     * 生成订单幂等检查key前缀
     */
    String ORDER_IDEMPOTENT_PREFIX = "order_idempotent_";
}
